<div class="view ui-corner-all">
<div><?php echo CHtml::link('Edit',CHtml::normalizeUrl(array('packing_list_packages_cargo/update','id'=>$data->id)),array('id'=>'edit')); ?></div>
<div>
<span class="span-1"><?php echo CHtml::encode($data->getAttributeLabel('cargo_id')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->cargo->do_ref->ref_no); ?></span>
</div>
<div>
<span class="span-1"><?php echo CHtml::encode($data->detail->getAttributeLabel('qty')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->qty); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->getAttributeLabel('wt')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->wt); ?></span>
</div>
<div>
<span class="span-1"><?php echo CHtml::encode($data->detail->getAttributeLabel('length')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->length); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->getAttributeLabel('width')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->width); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->getAttributeLabel('height')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->height); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->getAttributeLabel('m3')); ?></span>
<span class="span-1"><?php echo CHtml::encode($data->detail->m3); ?></span>
</div>

</div>